#ifndef _WX_XPMDECOD_H_
#define _WX_XPMDECOD_H_

#include "wx/defs.h"

class wxImage;
class wxInputStream;

class wxXPMDecoder {
  public:
    wxXPMDecoder() {}
    ~wxXPMDecoder() {}
    bool CanRead( wxInputStream& stream );
    wxImage ReadFile( wxInputStream& stream );
    wxImage ReadData( const char* const* xpm_data );
    #ifdef __BORLANDC__
    // needed for Borland 5.5
    wxImage ReadData( char** xpm_data ) { return ReadData( wx_const_cast( const char* const*, xpm_data ) ); }
    #endif
};

#endif
